package org.springdemo3.d1.test2;

        import org.springdemo3.d1.test1.UserAction;
        import org.springframework.context.ApplicationContext;
        import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Test1 {
    public static void main(String[] args) {
        ApplicationContext context=new ClassPathXmlApplicationContext("applicationContext.xml");
        ((UserInfo)context.getBean("userInfo")).info();



    }
}
